Plot root locus and return plot handle |
您所在的位置:网站首页 › matlab 的plot › Plot root locus and return plot handle |
rlocusplot Plot root locus and return plot handle Syntaxh = rlocusplot(sys) rlocusplot(sys,k) rlocusplot(sys1,sys2,...) rlocusplot(AX,...) rlocusplot(..., plotoptions) Descriptionh = rlocusplot(sys) computes and plots the root locus of the single-input, single-output LTI model sys. It also returns the plot handle h. You can use this handle to customize the plot with the getoptions and setoptions commands. Type help pzoptionsfor a list of available plot options. See rlocus for a discussion of the feedback structure and algorithms used to calculate the root locus. rlocusplot(sys,k) uses a user-specified vector k of gain values. rlocusplot(sys1,sys2,...) draws the root loci of multiple LTI models sys1, sys2,... on a single plot. You can specify a color, line style, and marker for each model, as in rlocusplot(sys1,'r',sys2,'y:',sys3,'gx')rlocusplot(AX,...) plots into the axes with handle AX. rlocusplot(..., plotoptions) plots the root locus with the options specified in plotoptions. Type help pzoptionsfor more details. ExamplesUse the plot handle to change the title of the plot. sys = rss(3); h = rlocusplot(sys); p = getoptions(h); % Get options for plot. p.Title.String = 'My Title'; % Change title in options. setoptions(h,p); % Apply options to plot. TipsYou can change the properties of your plot, for example the units. For information on the ways to change properties of your plots, see Ways to Customize Plots. Version HistoryIntroduced before R2006a See Alsogetoptions | rlocus | pzoptions | setoptions |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |